@layout("/common/_container.html"){
<div class="row">
    <div class="col-sm-12">
        <div class="ibox float-e-margins">
            <div class="ibox-content">
                <div class="row row-lg">
                    <div class="col-sm-12">
                        <div class="row">
                            <div class="col-sm-3">
                                <#NameCon id="nickName" name="昵称" placeholder="昵称"/>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="role" name="角色" >
                                <option value="">全部</option>
                                <option value="1">用户</option>
                                <option value="2">实名用户</option>
                                <option value="3">商户</option>
                            </#SelectCon>
                            </div>
                            <div class="col-sm-2">
                                <#SelectCon id="status" name="状态" >
                                <option value="">全部</option>
                                <option value="1">正常</option>
                                <option value="2">实名认证中</option>
                                <option value="3">实名认证驳回</option>
                                <option value="4">实名认证通过</option>
                                <option value="5">商户认证中</option>
                                <option value="6">商户认驳回</option>
                                <option value="7">商户认通过</option>
                            </#SelectCon>
                        </div>
                            <div class="col-sm-3">
                                <#button name="搜索" icon="fa-search" clickFun="WzUser.search()"/>
                            </div>
                        </div>
                        <div class="hidden-xs" id="WzUserTableToolbar" role="group">
                            @if(shiro.hasPermission("/wzUser/add")){
                                <#button name="添加" icon="fa-plus" clickFun="WzUser.openAddWzUser()"/>
                            @}
                            @if(shiro.hasPermission("/wzUser/update")){
                                <#button name="修改" icon="fa-edit" clickFun="WzUser.openWzUserDetail()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/wzUser/delete")){
                                <#button name="删除" icon="fa-remove" clickFun="WzUser.delete()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/wzUser/info")){
                                <#button name="用户信息" icon="fa-edit" clickFun="WzUser.info()" space="true"/>
                            @}
                            @if(shiro.hasPermission("/wzUser/merchant/info")){
                                <#button name="商户信息" icon="fa-edit" clickFun="WzUser.merchantInfo()" space="true"/>
                            @}
                        </div>
                        <#table id="WzUserTable"/>
                    </div>
                </div>
            </div>
        </div>
    </div>
</div>
<script src="${ctxPath}/static/modular/wz/wzUser/wzUser.js"></script>
@}
